<div id="container">
    <form id="create-job" action="<?php echo Yii::app()->baseUrl . '/resque/job/cancel';?>" method="POST">
        <legend>Cancel delayed Job</legend>
        <ul class="item-list">
            <li class="item">
                <label for="queue-name">Queue Name</label>
                <input id="queue-name" name="Job[QueueName]"/>
            </li>
            <li class="item">
                <label for="class-name">Job Class Name</label>
                <input id="class-name" name="Job[JobClassName]" />
            </li>
            <li class="item">
                <label for="arguments">Arguments (JSON format)</label>
                <input id="arguments" name="Job[Arguments]" />
            </li>
            <li class="item">
                <label for="token">Token</label>
                <input id="token" name="Job[JobToken]" />
            </li>
        </ul>
        <input id="request-token" name="Job[RequestToken]" type="hidden" value="<?php echo $requestToken;?>"/>
        <input id="enqueue" type="submit" value="Cancel"/>
    </form>
</div>